<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>个人信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<title>员工信息录入</title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />


<script language="JavaScript" type="text/javascript">
function tishi()
{
  var a=confirm('数据库中保存有该人员基本信息，您可以修改或保留该信息。');
  if(a!=true)return false;
  window.open("冲突页.htm","","depended=0,alwaysRaised=1,width=800,height=400,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
}

function check()
{
document.getElementById("aa").style.display="";
}

</script>
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
</head>

<body class="ContentBody">
  <form action="ll/gerenaction!updateEmp2.action" method="post">
<div class="MainDiv">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" >修改个人信息</th>
  </tr>
  <tr>
    <td class="CPanel">
		
		<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
		<tr>
		  <td align="left">　
		</td>
		</tr>
				<TR>
			<TD width="100%">
				<fieldset style="height:100%;">
				<legend>员工信息</legend>
					  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
					 <tr>
                         <TD class=cardOddlineLabel width="10%" align="right">个人照片</TD>
      <td class=cardOddlineLabel>
		<span id='PicImage'>
	      
	            <img border=1 width='120px' height='150px' title="个人照片" src='/images/1.jpg'>
	   
		</span>
	  </td>
      <td width=10% class=cardOddlineLabel align="right">照片上传</td> 
                     </tr>
					  <tr>
					    <td nowrap align="right" width="15%">员工编号:</td>
					    <td width="35%">
					      <input type="text" name="emp.empno" value="<s:property value='emp.empno'/>" readonly="readonly">
					    </td>
					  </tr>  
					  
					  <tr>
					    <td nowrap="nowrap" align="right">真实姓名:</td>
					    <td>
					     <input type="text" name="emp.realname" value="<s:property value='emp.realname'/>">
					    </td>
					    
					    <td align="right">性别:</td>
					    <td>
					      <input type="text" name="emp.sex" value="<s:property value='emp.sex'/>" readonly="readonly">
					    </td>
					  </tr>
					  
					  <tr>
					    <td align="right">出生日期:</td>
					    <td>
					      <input type="text" name="emp.birth" value="<s:property value='emp.birth'/>">
					    </td>
					    
                          <td align="right">电话号码:</td>
					    <td>
					      <input type="text" name="emp.phone" value="<s:property value='emp.phone'/>">
					    </td>
					  </tr>
					  
					  <tr>
					    <td align="right">电子邮箱:</td>
					    <td>
					      <input type="text" name="emp.email" value="<s:property value='emp.email'/>">
					    </td>
					    
					   <td align="right">职位:</td>
					      <td>
					        <input type="text" name="emp.rid" value="<s:property value='emp.rid'/>" readonly="readonly">
					      </td>
					  </tr>
					  
					  <tr>
					    <td align="right">居住地址:</td>
					    <td>
					      <input type="text" name="emp.addr" value="<s:property value='emp.addr'/>">
					    </td>
					    
					    <td align="right">入职时间:</td>
					    <td>
					      <input type="text" name="emp.hiredate" value="<s:property value='emp.hiredate'/>" readonly="readonly">
					    </td>
					    <td align="right">&nbsp;</td>
					    <td>&nbsp;</td>
					  </tr>
					  </table>
			  <br />
				</fieldset>			</TD>
		</TR>
		</TABLE>
	
	
	 </td>
  </tr>
		<TR>
			<TD colspan="2" align="center" height="50px">
			<input type="submit" name="Submit" value="修改"/>　
			<input type="button" name="Submit2" value="取消" class="button" onclick="window.history.go(-1);"/></TD>
		</TR>
		</TABLE>
</div>
</form>
</body>
</html>
